package com.linoer.cloud.alo.storageservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linoer.cloud.alo.storageservice.domain.Storage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Classname StorageMapper
 * @Description TODO
 * @Date 2021/6/23 9:47 上午
 * @Created by muhenglv
 */
@Mapper
public interface StorageMapper extends BaseMapper<Storage> {
    int decreaseStorage(@Param("commodity_code")String commodityId, @Param("count") int count);
}
